.class public Les/ud;
.super Ljava/lang/Object;
.source "IntroAndOutroSection.java"

# interfaces
.implements Les/td;


# instance fields
.field private a:I

.field private b:I

.field private c:Z

.field private d:J

.field private e:Les/td$a;

.field private f:Landroid/os/Handler;


# direct methods
.method public constructor <init>(I)V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-wide/16 v0, -0x1

    .line 2
    iput-wide v0, p0, Les/ud;->d:J

    .line 3
    iput p1, p0, Les/ud;->a:I

    .line 4
    new-instance p1, Les/ud$a;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-direct {p1, p0, v0}, Les/ud$a;-><init>(Les/ud;Landroid/os/Looper;)V

    iput-object p1, p0, Les/ud;->f:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Les/ud;I)I
    .locals 0

    .line 3
    iput p1, p0, Les/ud;->b:I

    return p1
.end method

.method static synthetic a(Les/ud;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Les/ud;->d:J

    return-wide v0
.end method

.method static synthetic a(Les/ud;J)J
    .locals 0

    .line 2
    iput-wide p1, p0, Les/ud;->d:J

    return-wide p1
.end method

.method static synthetic b(Les/ud;)I
    .locals 0

    .line 1
    iget p0, p0, Les/ud;->b:I

    return p0
.end method

.method static synthetic c(Les/ud;)I
    .locals 0

    .line 1
    iget p0, p0, Les/ud;->a:I

    return p0
.end method

.method static synthetic d(Les/ud;)Les/td$a;
    .locals 0

    .line 1
    iget-object p0, p0, Les/ud;->e:Les/td$a;

    return-object p0
.end method


# virtual methods
.method public a()I
    .locals 1

    .line 4
    iget v0, p0, Les/ud;->b:I

    return v0
.end method

.method public a(Les/td$a;)V
    .locals 0

    .line 5
    iput-object p1, p0, Les/ud;->e:Les/td$a;

    return-void
.end method

.method public getDuration()I
    .locals 1

    .line 1
    iget v0, p0, Les/ud;->a:I

    return v0
.end method

.method public isPlaying()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Les/ud;->c:Z

    return v0
.end method

.method public pause()V
    .locals 2

    const-wide/16 v0, -0x1

    .line 1
    iput-wide v0, p0, Les/ud;->d:J

    .line 2
    iget-object v0, p0, Les/ud;->f:Landroid/os/Handler;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    const/4 v0, 0x0

    .line 3
    iput-boolean v0, p0, Les/ud;->c:Z

    return-void
.end method

.method public seekTo(I)V
    .locals 0

    .line 1
    iput p1, p0, Les/ud;->b:I

    return-void
.end method

.method public start()V
    .locals 3

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Les/ud;->c:Z

    .line 2
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v1

    iput-wide v1, p0, Les/ud;->d:J

    .line 3
    iget-object v1, p0, Les/ud;->f:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->removeMessages(I)V

    .line 4
    iget-object v1, p0, Les/ud;->f:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    return-void
.end method

.method public stop()V
    .locals 3

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Les/ud;->b:I

    .line 2
    iget-object v1, p0, Les/ud;->f:Landroid/os/Handler;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/os/Handler;->removeMessages(I)V

    .line 3
    iput-boolean v0, p0, Les/ud;->c:Z

    return-void
.end method
